package com.xw.service;

import com.xw.model.VideosItem;
import com.xw.vo.VideosItemVo;

import java.util.List;
import java.util.Map;

public interface VideosItemService {
    List<VideosItemVo> findByWhere(Integer page, Integer limit, String videoId);

    Map pass(String videoItemId, String videoId);

    Map notPass(String videoItemId, String videoId, String noPassReason);

    Map findAllJson(Integer page, Integer limit, String videoId, String videoItemName, Integer videoStatus);

    Map setTopVideoItem(String videoItemId, Integer isTop);

    Map reeditVideoItem(String videoItemId, String videoUrl, String videoName, Integer sort, Double videoItemSize);

    Map saveVideoItemToVideo(String userId,String videoId,String videoItemId);


    Map insertVideoItem(String videoItemName, String videoItemUrl, String videoId, String userId, Integer sort);

    Map setTopVideo(String videoId,Integer isTop);

    Map restartSortVideoItems(List<VideosItem> videosItemList);

    Map findItemByVideoId(String userId, String videoId);

    Map findVideoItemByVideoId(String videoId);

    void updateVideosItem(String videoId, List<VideosItem> list);

    Map findAllByVideoIdJson(Integer page, Integer limit, String videoId, String videoItemName, Integer videoStatus);
}
